<?php

namespace Yolo\Logs;

interface LogInterface
{
    /**
     * @psalm-param array{
     *     action: string,
     *     message: string,
     *     data?: array<string, mixed>
     * } $log
     * @param array $log
     * @return void
     */
    public function debug(array $log): void;

    public function info(array $log): void;

    public function warn(array $log): void;

    public function error(array $log): void;
}
